package com.itheima.pojo.cms;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 *专题类别
 */
@TableName(value ="cms_topic_category")
@Data
public class CmsTopicCategory implements Serializable {

    /**
     *类别id
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     *类别名称
     */
    private String name;

    /**
     *图标
     */
    private String icon;

    /**
     *专题数量
     */
    private String subjectCount;

    /**
     *显示状态
     */
    private String showStatus;

    /**
     *种类
     */
    private String sort;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
